home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / grafik / bildanzeiger / superview-lib_dev / include / svobjects / svobjectbase.h next >
C/C++ Source or Header  |  1995-03-09  |  2KB  |  76 lines

  1. /* svobjects/svobjectbase.h        */
  2. /* Version    : 3.7            */
  3. /* Date       : 28.04.1994        */
  4. /* Written by : Andreas R. Kleinert */
  5.  
  6. /* SVObject-Version V2.x+ */
  7.  
  8. #ifndef SVOBJECTS_SVOBJECTBASE_H
  9. #define SVOBJECTS_SVOBJECTBASE_H
  10.  
  11. #ifndef SVOBJECTS_SVOBJECTS_H
  12. #include <svobjects/svobjects.h>
  13. #endif /* SVOBJECTS_SVOBJECTS_H */
  14.  
  15. #ifndef EXEC_LISTS
  16. #include <exec/lists.h>
  17. #endif /* EXEC_LISTS */
  18.  
  19. #ifndef EXEC_LIBRARIES
  20. #include <exec/libraries.h>
  21. #endif /* EXEC_LIBRARIES_H */
  22.  
  23.    /* An external support-library for the superview.library is called a
  24.       "svobject".
  25.       Each svobject has to contain a "SVO_ObjectNode" structure (as follows)
  26.       in its Library-Header, which later will be READ and MODIFIED by
  27.       the superview.library.
  28.       Because the superview.library supports three different sorts
  29.       of SVObjects at the time (internal, independent and external),
  30.       there are three different types of this structure (might be more in
  31.       the future), which can be identified via their "svo_ObjectType".
  32.    */
  33.  
  34.    /* The Construction of a svobject :
  35.       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  36.  
  37.       The Library Base
  38.       ----------------
  39.  
  40.       Version MUST be 2 yet, Revision can be set freely
  41.  
  42.       (see structure described below)
  43.  
  44.  
  45.       The Function Table
  46.       ------------------
  47.  
  48.       (see <pragmas/svobjects.h> or Reference_ENG.doc)
  49.  
  50.    */
  51.  
  52. /* *************************************************** */
  53. /* *                             * */
  54. /* * Library base Definition for svobjects         * */
  55. /* *                             * */
  56. /* *************************************************** */
  57.  
  58. struct SVObjectBase
  59. {
  60.  struct Library     svb_LibNode;       /* Exec LibNode             */
  61.  struct SVO_ObjectNode *svb_SVObject;       /* POINTER to initialized         */
  62.                        /* SVO_ObjectNode             */
  63.                        /* Define it somewhere else,      */
  64.                        /* then initialize this pointer.  */
  65.  
  66.  ULONG            svo_Reserved [32]; /* Reserved for future expansion. */
  67.                        /* Always NULL yet (Version 1).   */
  68.  
  69.  /*
  70.    Private data of the svobject, not to be accessed
  71.    by superview.library, may follow.
  72.  */
  73. };
  74.  
  75. #endif /* SVOBJECTS_SVOBJECTBASE_H */
  76.